package com.ssy.lingxi.member.merchant.repository;

import com.ssy.lingxi.member.merchant.entity.BaseCreditConfigDO;
import com.ssy.lingxi.member.merchant.entity.MemberVisitDO;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 基础信用信息配置
 * @author 万宁
 * @version 2.0.0
 * @date 2020-08-24
 */
@Repository
public interface MemberVisitRepository extends JpaRepository<MemberVisitDO, Long>, JpaSpecificationExecutor<MemberVisitDO> {


    List<MemberVisitDO> findByCreateMemberIdAndCreateMemberRoleIdOrderByUpdateTimeDesc(Long createMemberId, Long createMemberRoleId);
}
